/* Styles de base (Desktop-first) */
        body {
            font-family: 'Montserrat', sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            color: #333;
        }

        .header {
            background: url('ocean.jpg') no-repeat center center/cover;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            text-align: center;
            color: #fff;
            position: relative;
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
        }

        .top-nav {
            width: 90%;
            display: flex;
            backdrop-filter: blur(30px);
            background-color: rgba(8, 0, 51, 0.2);
            justify-content: space-between;
            align-items: center;
            padding: 10px 25px;
            margin-top: 2vh;
            position: fixed;
            backdrop-filter: blur(30px);
            z-index: 10;
            border-radius: 50px;
        }

        .logo {
            height: 50px;
        }

        .nav-links {
            display: flex;
        }

        .nav-links a {
            color: #fff;
            text-decoration: none;
            margin-left: 30px;
            font-weight: 700;
        }
        .btn{
            width: 40vh;
            height: 10vh;
        }
        .btn:hover{
            opacity: 0.8;
        }

        /* Styles pour le bouton du menu hamburger */
        .menu-toggle {
            display: none;
            cursor: pointer;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 25px;
            background: transparent;
            border: none;
            z-index: 11;
        }

        .menu-toggle span {
            display: block;
            width: 100%;
            height: 3px;
            background-color: #fff;
            transition: all 0.3s ease-in-out;
        }

        .hero-text {
            position: relative;
            z-index: 5;
            margin-top: 15vh;
            margin-top: 20vh;
        }

        .hero-text h1 {
            font-size: 3.5em;
            margin: 0;
        }

        .hero-text p {
            font-size: 1.2em;
        }

        .cta-buttons {
            margin-top: 20px;
        }

        .cta-buttons .btn {
            padding: 12px 25px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 700;
            margin: 0 10px;
        }

        .btn-blue {
            background-color: #007bff;
            color: #fff;
            border-radius:10px;
        }

        .btn-white {
            background-color: #fff;
            color: #007bff;
        }

        .main-content {
            padding: 50px 10%;
            background-color: #f9f9f9;
        }

        .section-title {
            text-align: center;
            font-size: 2em;
            margin-bottom: 20px;
        }

        .about-conference {
            display: flex;
            align-items: center;
            gap: 40px;
            margin-top: 40px;
        }

        .about-conference img {
            width: 40%;
            border-radius: 10px;
        }

        .about-text {
            width: 60%;
        }

        .about-text h2 {
            margin-top: 0;
        }

        .speakers-section {
            margin-top: 60px;
        }

        .speakers-grid {
            display: flex;
            justify-content: center;
            gap: 50px;
            margin-top: 40px;
        }

        .speaker-card {
            text-align: center;
        }

        .speaker-card img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid #007bff;
        }

        .speaker-card h3 {
            margin: 10px 0 5px;
        }

        .speaker-card p {
            margin: 0;
            color: #555;
        }

        .footer {
            background-color: #333;
            color: #fff;
            text-align: center;
            padding: 20px 0;
            margin-top: 50px;
        }

        .countdown {
            margin-top: 5vh;
            display: flex;
            justify-content: center;
            gap: 20px;
            color: #fff;
            z-index: 5;
            position: relative;
        }

        .countdown-item {
            text-align: center;
        }

        .countdown-item span {
            display: block;
            font-size: 3em;
            font-weight: bold;
            color: #007bff;
            background-color: #fff;
            padding: 10px 20px;
            border-radius: 10px;
        }

        .countdown-item p {
            margin-top: 5px;
            font-size: 1em;
            text-transform: uppercase;
        }

/* Intervenants Page Styles */
.speakers-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.speaker-card-detailed {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.speaker-card-detailed:hover {
    transform: translateY(-10px);
}

.speaker-card-detailed img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #007bff;
    margin-bottom: 20px;
}

.speaker-card-detailed h3 {
    margin: 0 0 5px;
    font-size: 1.5em;
}

.speaker-title {
    color: #007bff;
    font-weight: bold;
    margin-bottom: 15px;
}

.speaker-bio {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

.social-links a:hover {
    text-decoration: underline;
}

/* Programme Page Styles */
.schedule-section {
    margin-top: 40px;
}

.schedule-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

thead {
    background-color: #007bff;
    color: #fff;
}

tr {
    border-bottom: 1px solid #ddd;
}

th, td {
    padding: 15px;
    text-align: left;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.disclaimer {
    margin-top: 20px;
    text-align: center;
    font-style: italic;
    color: #555;
}

/* Lieu Page Styles */
.venue-section {
    margin-top: 40px;

    
}

@media (orientation: portrait) {
    .venue-description {
        text-align: left;
        margin: 0 auto;
        width: 90%;
    }

    .venue-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}


.venue-description {
    margin-bottom: 40px;
    width: 90%;
}

.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Sponsors Page Styles */
.sponsors-section {
    margin-top: 40px;
    text-align: center;
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.sponsor-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sponsor-card img {
    max-width: 150px;
}

.no-sponsors {
    font-size: 1.2em;
    color: #555;
}

.cta-sponsors {
    margin-top: 40px;
}

.cta-sponsors p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {

    margin-right: 10px;

}



/* Styles pour les niveaux de sponsors */

.sponsors-tiers {

    padding: 50px 5%;

    text-align: center;

}



.section-intro {

    max-width: 800px;

    margin: 0 auto 40px;

    font-size: 1.1em;

    line-height: 1.6;

    color: #555;

}



.tiers-grid {



    display: flex;



    flex-wrap: wrap;



    justify-content: center;



    margin-top: 40px;



}







.tier-card-link {















    text-decoration: none;















    color: inherit;















    display: block;















    transition: transform 0.3s ease, box-shadow 0.3s ease;















    width: 320px;















    margin: 20px;















}



.tier-card-link:hover {

    transform: translateY(-10px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);

}



.tier-card {

    background: #fff;

    border-radius: 15px;

    padding: 30px;

    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);

    /* height: 100%; */

    display: flex;

    flex-direction: column;

}



.tier-card h3 {

    font-size: 1.8em;

    color: #005f9e;

    margin-top: 0;

    margin-bottom: 15px;

}



.tier-price {

    font-size: 1.3em;

    font-weight: bold;

    color: #007bff;

    margin-bottom: 20px;

    border-top: 1px solid #eee;

    border-bottom: 1px solid #eee;

    padding: 10px 0;

}



.tier-benefits {

    list-style: none;

    padding: 0;

    margin: 0;

    text-align: left;

    flex-grow: 1;

}



.tier-benefits li {

    margin-bottom: 12px;

    position: relative;

    padding-left: 25px;

}



.tier-benefits li::before {

    content: '✔';

    color: #28a745;

    position: absolute;

    left: 0;

    font-weight: bold;

}

.popup {

    position: fixed;

    bottom: 0;

    z-index: 9999;

    width: 100vw;

    height: 10vh;

    background-color: rgb(0, 94, 255);

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0 20px;

    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);

}



.popup .message {

    font-size: 1rem;

    position: center;

    text-align: center;

}



.popup .close-btn {

    cursor: pointer;

    font-size: 1.5rem;

    font-weight: bold;

    color: white;

    background: none;

    margin-right: 5vh;

    border: none;

    outline: none;

}



.popup .close-btn:hover {

    color: #ddd;

}



/* Registration Page Styles */

.registration-section {

    margin-top: 40px;

    text-align: center;

}



.registration-content p {

    font-size: 1.1em;

    line-height: 1.7;

    margin-bottom: 20px;

}



.btn-lg {

    padding: 15px 30px;

    margin-top: 10vh;

    font-size: 1.2em;

}

a{

    text-decoration: none;

}

/* --- Mise en page texte + carte (desktop) --- */

@media (min-width: 1024px) and (orientation: landscape) {

    .venue-section {

        display: flex;

        align-items: flex-start;

        justify-content: center;

        gap: 0;

        margin: 10vh;

    }



    .venue-description {

        width: 50%;

        text-align: left;

        padding-right: 40px;

    }



    .map-wrapper {

        width: 50%;

        position: relative;

    }



    .map-container {

        width: 100%;

        height: 100%;

        padding-top: 0; /* Supprime le ratio 16:9 */

        aspect-ratio: 1 / 1; /* optionnel : garde une forme carrée */

    }



    .map-container iframe {

        position: relative;

        width: 100%;

        height: 100%;

    }

}



/* --- Masquage du header Google My Maps sur tous les formats --- */

.map-overlay-white {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 10vh; /* hauteur approximative du header My Maps */

    background-color: white;

    z-index: 2;

    pointer-events: none; /* pour que la carte reste cliquable */

}





        /* --- Media Queries pour le responsive --- */

        @media (orientation: portrait),

        (max-width: 768px) {

            .top-nav {

                flex-wrap: wrap;

                padding: 10px;

                width: 90%;

                border-radius: 10px;

                position: absolute;

            }



            .logo {

                margin: 0;

            }



            .nav-links {

                flex-direction: column;

                width: 100%;

                text-align: center;

                background-color: rgba(0, 0, 0, 0.7);

                border-radius: 10px;

                margin-top: 10px;

                padding: 10px 0;

                display: none;

                /* Masque le menu par défaut */

            }



            .nav-links.open {

                display: flex;

                /* Affiche le menu quand la classe 'open' est ajoutée */

            }



            .nav-links a {

                margin: 10px 0;

                font-size: 1.1em;

                display: block;

                padding: 5px 0;

            }



            .menu-toggle {

                display: flex;

                /* Affiche le bouton du menu */

            }



            .hero-text h1 {

                font-size: 2.5em;

                margin-bottom: 15vh;

                margin-top: 15vh;

            }



            .hero-text p {

                font-size: 1em;

            }



            .cta-buttons {

                display: flex;

                /* active flexbox */

                flex-direction: column;

                /* les boutons l’un en dessous de l’autre */

                align-items: center;

                /* centrer horizontalement */

                justify-content: center;

                /* centrer verticalement */

                gap: 15px;

                /* espace entre les boutons */

                height: auto;

                /* supprime la hauteur fixe */

                margin-top: 20px;

                /* petit espace avec le texte */

            }



            .cta-buttons .btn {

                margin: 0;

                /* plus besoin du margin vertical */

                width: 80%;

                max-width: 250px;

            }



            .about-conference {

                flex-direction: column;

                text-align: center;

            }



            .about-conference img {

                width: 80%;

            }



            .about-text {

                width: 100%;



            }



            .speakers-grid {

                flex-direction: column;

                align-items: center;

                gap: 30px;



            }



            .countdown {

                flex-direction: row;

                flex-wrap: wrap;

                justify-content: center;

                gap: 10px;

                margin: 5vh auto 0;

                width: 90%;

            }



            .countdown-item {

                flex-basis: calc(25% - 10px);

                text-align: center;

            }



            .countdown-item span {

                font-size: 1.5em;

                padding: 8px;

            }



            .countdown-item p {

                font-size: 0.7em;

                margin-top: 5px;

            }

            #tagline{

                display: none;

            }



            /* Responsive table for Programme */

            thead {

                display: none;

            }



            tr {

                display: block;

                margin-bottom: 20px;

                border: 1px solid #ddd;

            }



            td {

                display: block;

                text-align: right;

                border-bottom: 1px dotted #ccc;

            }



            td::before {

                content: attr(data-label);

                float: left;

                font-weight: bold;

                text-transform: uppercase;

            }

        }
